/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author user
 */

import java.io.IOException;
import javax.swing.JOptionPane;

public class run_sh {
  //public static void main(String[] args)
   void LOOL()
   {
    String command = "/home/user/Install_useble/Promin/RunMe_64M.sh";
    try {
      Process proc = Runtime.getRuntime().exec(command);
      try {
         proc.waitFor();
          }
    
         catch (InterruptedException e)
          {
          JOptionPane.showMessageDialog(null,"Не удалось запустить приложение!");
          e.printStackTrace();
          }
        }
    
    catch (IOException e)
       {
         JOptionPane.showMessageDialog(null,"Что-то не срослось");
         e.printStackTrace();
       }
   }
}